define(["bbcare","template","scprit/assess/template/monthlyAssess/monthlyAssessList.tpl.js"],function($bb,template,tpl){
	var ui = {};

	var drawChangeStatus = function(data){
		return template("tpl_monthlyAssessList_changeStatus",data);
	}
	var drawTable = function(data){
		return template("tpl_monthlyAssessList_table",data);
	};

	ui.changeStatusInit = function(options){
		options.$modalBody.html(tpl.changeStatus);
		var h = drawChangeStatus(options.data);
		options.$modalBody.html(h);
	}

	ui.tableInit = function(options){
		$("#" + options.id).html(tpl.table);
		var h = drawTable();
		$("#" + options.id).html(h);
	}

	return ui;
});